package com.youxue.dao;

import com.youxue.entity.UserClass;
import com.youxue.entity.UserClassKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserClassMapper {
    int deleteByPrimaryKey(UserClassKey key);

    int insert(UserClass record);

    int insertSelective(UserClass record);

    UserClass selectByPrimaryKey(UserClassKey key);

    int updateByPrimaryKeySelective(UserClass record);

    int updateByPrimaryKey(UserClass record);

    int deleteAUserClass(UserClassKey key);

    List<UserClass> selectAUserAllClass(@Param(value = "userId") Integer userId);
}